package com.yjj.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yjj.bean.Yjj_user;
import com.yjj.util.Pageutil;

public interface Yjj_userDao {
    int deleteByPrimaryKey(Integer uid);

    int insert(Yjj_user record);

    int insertSelective(Yjj_user record);

    Yjj_user selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(Yjj_user record);

    int updateByPrimaryKey(Yjj_user record);

	Object getOneByTel(String tel);

	Object getOneByPwdAndTel(@Param("pwd")String pwd, @Param("tel")String tel);

	List getUserAll(Pageutil p);

	int getcount();
}